diff options
Diffstat (limited to 'meta-networking/recipes-support/strongswan/files/fix-funtion-parameter.patch')
-rw-r--r-- | meta-networking/recipes-support/strongswan/files/fix-funtion-parameter.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-networking/recipes-support/strongswan/files/fix-funtion-parameter.patch b/meta-networking/recipes-support/strongswan/files/fix-funtion-parameter.patch index da96983e6d..846e0c6936 100644 --- a/meta-networking/recipes-support/strongswan/files/fix-funtion-parameter.patch +++ b/meta-networking/recipes-support/strongswan/files/fix-funtion-parameter.patch | |||
@@ -50,7 +50,7 @@ index ff33824..bd21446 100644 | |||
50 | */ | 50 | */ |
51 | -openssl_diffie_hellman_t *openssl_diffie_hellman_create( | 51 | -openssl_diffie_hellman_t *openssl_diffie_hellman_create( |
52 | +openssl_diffie_hellman_t *openssl_diffie_hellman_create_custom( | 52 | +openssl_diffie_hellman_t *openssl_diffie_hellman_create_custom( |
53 | diffie_hellman_group_t group, chunk_t g, chunk_t p) | 53 | diffie_hellman_group_t group, ...) |
54 | { | 54 | { |
55 | private_openssl_diffie_hellman_t *this; | 55 | private_openssl_diffie_hellman_t *this; |
56 | @@ -197,5 +197,11 @@ openssl_diffie_hellman_t *openssl_diffie_hellman_create( | 56 | @@ -197,5 +197,11 @@ openssl_diffie_hellman_t *openssl_diffie_hellman_create( |
@@ -70,12 +70,12 @@ index 53dc59c..eb69eaa 100644 | |||
70 | --- a/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h | 70 | --- a/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h |
71 | +++ b/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h | 71 | +++ b/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h |
72 | @@ -44,8 +44,10 @@ struct openssl_diffie_hellman_t { | 72 | @@ -44,8 +44,10 @@ struct openssl_diffie_hellman_t { |
73 | * @param p custom prime, if MODP_CUSTOM | 73 | * @param ... expects generator and prime as chunk_t if MODP_CUSTOM |
74 | * @return openssl_diffie_hellman_t object, NULL if not supported | 74 | * @return openssl_diffie_hellman_t object, NULL if not supported |
75 | */ | 75 | */ |
76 | -openssl_diffie_hellman_t *openssl_diffie_hellman_create( | 76 | -openssl_diffie_hellman_t *openssl_diffie_hellman_create( |
77 | +openssl_diffie_hellman_t *openssl_diffie_hellman_create_custom( | 77 | +openssl_diffie_hellman_t *openssl_diffie_hellman_create_custom( |
78 | diffie_hellman_group_t group, chunk_t g, chunk_t p); | 78 | diffie_hellman_group_t group, ...); |
79 | +openssl_diffie_hellman_t *openssl_diffie_hellman_create( | 79 | +openssl_diffie_hellman_t *openssl_diffie_hellman_create( |
80 | + diffie_hellman_group_t group); | 80 | + diffie_hellman_group_t group); |
81 | 81 | ||