summaryrefslogtreecommitdiff
path: root/lib/libcrypto/x509/x509_req.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2015-09-30 17:30:17 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2015-09-30 17:30:17 +0000
commit6cd4c5a8730cea97715af5f2349cba6243e18ded (patch)
tree7e6a048ec6fbf864d08e35b7d77a2749bcd314be /lib/libcrypto/x509/x509_req.c
parente6df0276f19a838a7047a5da99979a94d36a3423 (diff)
Replace M_ASN1_INTEGER_(new|free) with ASN1_INTEGER_(new|free) - this is
different from the macro expansion, but the result is the same. Also replace some ASN1_STRING_dup() with ASN1_INTEGER_dup(). ok beck@ doug@
Diffstat (limited to 'lib/libcrypto/x509/x509_req.c')
-rw-r--r--lib/libcrypto/x509/x509_req.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/x509/x509_req.c b/lib/libcrypto/x509/x509_req.c
index 8813f372cce..dc4bc2639a4 100644
--- a/lib/libcrypto/x509/x509_req.c
+++ b/lib/libcrypto/x509/x509_req.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509_req.c,v 1.17 2015/03/15 22:52:17 doug Exp $ */
+/* $OpenBSD: x509_req.c,v 1.18 2015/09/30 17:30:16 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -86,7 +86,7 @@ X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md)
ri = ret->req_info;
- if ((ri->version = M_ASN1_INTEGER_new()) == NULL)
+ if ((ri->version = ASN1_INTEGER_new()) == NULL)
goto err;
if (ASN1_INTEGER_set(ri->version, 0) == 0)
goto err;