diff options
author | jsing <> | 2014-10-16 10:43:54 +0000 |
---|---|---|
committer | jsing <> | 2014-10-16 10:43:54 +0000 |
commit | 51b2f5e80841bb6b000b8324a0a93349be43ac53 (patch) | |
tree | e255dc40be8478b1a20c2082eb423c72df7868fb /src/usr.bin/openssl/req.c | |
parent | 909247b30c58e971994251b7bf7092e9dd8967df (diff) | |
download | openbsd-51b2f5e80841bb6b000b8324a0a93349be43ac53.tar.gz openbsd-51b2f5e80841bb6b000b8324a0a93349be43ac53.tar.bz2 openbsd-51b2f5e80841bb6b000b8324a0a93349be43ac53.zip |
Repair BUF_strdup() breakage.
Diffstat (limited to 'src/usr.bin/openssl/req.c')
-rw-r--r-- | src/usr.bin/openssl/req.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/req.c b/src/usr.bin/openssl/req.c index 99f10ecde0..1d50524052 100644 --- a/src/usr.bin/openssl/req.c +++ b/src/usr.bin/openssl/req.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: req.c,v 1.3 2014/10/01 13:15:40 sthen Exp $ */ | 1 | /* $OpenBSD: req.c,v 1.4 2014/10/16 10:43:54 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -1480,7 +1480,7 @@ set_keygen_ctx(BIO * err, const char *gstr, int *pkey_type, | |||
1480 | return NULL; | 1480 | return NULL; |
1481 | } | 1481 | } |
1482 | EVP_PKEY_asn1_get0_info(NULL, NULL, NULL, NULL, &anam, ameth); | 1482 | EVP_PKEY_asn1_get0_info(NULL, NULL, NULL, NULL, &anam, ameth); |
1483 | *palgnam = BUF_strdup(anam); | 1483 | *palgnam = strdup(anam); |
1484 | #ifndef OPENSSL_NO_ENGINE | 1484 | #ifndef OPENSSL_NO_ENGINE |
1485 | if (tmpeng) | 1485 | if (tmpeng) |
1486 | ENGINE_finish(tmpeng); | 1486 | ENGINE_finish(tmpeng); |