projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR: 2411
[oweals/openssl.git]
/
crypto
/
x509v3
/
v3_alt.c
diff --git
a/crypto/x509v3/v3_alt.c
b/crypto/x509v3/v3_alt.c
index 49f899fa5a584b813ad2e747c192c0070660dc62..69244e4976a571f503ac2e10b03b170171f062d9 100644
(file)
--- a/
crypto/x509v3/v3_alt.c
+++ b/
crypto/x509v3/v3_alt.c
@@
-360,6
+360,7
@@
static int copy_email(X509V3_CTX *ctx, GENERAL_NAMES *gens, int move_p)
if (move_p)
{
X509_NAME_delete_entry(nm, i);
+ X509_NAME_ENTRY_free(ne);
i--;
}
if(!email || !(gen = GENERAL_NAME_new())) {
@@
-578,7
+579,7
@@
static int do_dirname(GENERAL_NAME *gen, char *value, X509V3_CTX *ctx)
X509_NAME_free(nm);
gen->d.dirn = nm;
- X509V3_
free_section
(ctx, sk);
+ X509V3_
section_free
(ctx, sk);
return ret;
}