diff options
author | bcook <> | 2016-11-06 09:28:25 +0000 |
---|---|---|
committer | bcook <> | 2016-11-06 09:28:25 +0000 |
commit | 856e341b82b98ee38fdfc357830a1a7ccafe068c (patch) | |
tree | 2673c94e5c6d94730f1e65bfb36139dd44820af3 /src | |
parent | fdab505b7d500c4a8f7c7c59dbf50450e160d35f (diff) | |
download | openbsd-856e341b82b98ee38fdfc357830a1a7ccafe068c.tar.gz openbsd-856e341b82b98ee38fdfc357830a1a7ccafe068c.tar.bz2 openbsd-856e341b82b98ee38fdfc357830a1a7ccafe068c.zip |
use the correct function for free
ok beck@
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vpm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_vpm.c b/src/lib/libcrypto/x509/x509_vpm.c index 46375d798b..20524cf221 100644 --- a/src/lib/libcrypto/x509/x509_vpm.c +++ b/src/lib/libcrypto/x509/x509_vpm.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vpm.c,v 1.12 2016/11/05 20:14:59 beck Exp $ */ | 1 | /* $OpenBSD: x509_vpm.c,v 1.13 2016/11/06 09:28:25 bcook Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2004. | 3 | * project 2004. |
4 | */ | 4 | */ |
@@ -94,7 +94,7 @@ sk_deep_copy(void *sk_void, void *copy_func_void, void *free_func_void) | |||
94 | { | 94 | { |
95 | _STACK *sk = sk_void; | 95 | _STACK *sk = sk_void; |
96 | void *(*copy_func)(void *) = copy_func_void; | 96 | void *(*copy_func)(void *) = copy_func_void; |
97 | void (*free_func)(void *) = copy_func_void; | 97 | void (*free_func)(void *) = free_func_void; |
98 | _STACK *ret = sk_dup(sk); | 98 | _STACK *ret = sk_dup(sk); |
99 | 99 | ||
100 | if (ret == NULL) | 100 | if (ret == NULL) |