summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/n_pkey.c
diff options
context:
space:
mode:
authorjsing <>2015-10-16 15:09:28 +0000
committerjsing <>2015-10-16 15:09:28 +0000
commit347b8ec58659d39fe107b7425448fc5de0eeab85 (patch)
treed1b6e417f9a8275632216d4ce722a7a10f9eb92d /src/lib/libcrypto/asn1/n_pkey.c
parenta257720ff1fc941f32aec3258685e6ae8d66fb92 (diff)
downloadopenbsd-347b8ec58659d39fe107b7425448fc5de0eeab85.tar.gz
openbsd-347b8ec58659d39fe107b7425448fc5de0eeab85.tar.bz2
openbsd-347b8ec58659d39fe107b7425448fc5de0eeab85.zip
Remove pointless uses of DECLARE_ASN1_ENCODE_FUNCTIONS_const.
DECLARE_ASN1_FUNCTIONS_const already includes this macro so using both means we end up with duplicate function prototypes and externs.
Diffstat (limited to 'src/lib/libcrypto/asn1/n_pkey.c')
-rw-r--r--src/lib/libcrypto/asn1/n_pkey.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/asn1/n_pkey.c b/src/lib/libcrypto/asn1/n_pkey.c
index 491f988e92..664d39216b 100644
--- a/src/lib/libcrypto/asn1/n_pkey.c
+++ b/src/lib/libcrypto/asn1/n_pkey.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: n_pkey.c,v 1.27 2015/09/10 15:56:24 jsing Exp $ */ 1/* $OpenBSD: n_pkey.c,v 1.28 2015/10/16 15:09:28 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 *
@@ -114,7 +114,6 @@ const ASN1_ITEM NETSCAPE_ENCRYPTED_PKEY_it = {
114}; 114};
115 115
116DECLARE_ASN1_FUNCTIONS_const(NETSCAPE_ENCRYPTED_PKEY) 116DECLARE_ASN1_FUNCTIONS_const(NETSCAPE_ENCRYPTED_PKEY)
117DECLARE_ASN1_ENCODE_FUNCTIONS_const(NETSCAPE_ENCRYPTED_PKEY, NETSCAPE_ENCRYPTED_PKEY)
118 117
119NETSCAPE_ENCRYPTED_PKEY * 118NETSCAPE_ENCRYPTED_PKEY *
120d2i_NETSCAPE_ENCRYPTED_PKEY(NETSCAPE_ENCRYPTED_PKEY **a, const unsigned char **in, long len) 119d2i_NETSCAPE_ENCRYPTED_PKEY(NETSCAPE_ENCRYPTED_PKEY **a, const unsigned char **in, long len)
@@ -169,7 +168,6 @@ const ASN1_ITEM NETSCAPE_PKEY_it = {
169}; 168};
170 169
171DECLARE_ASN1_FUNCTIONS_const(NETSCAPE_PKEY) 170DECLARE_ASN1_FUNCTIONS_const(NETSCAPE_PKEY)
172DECLARE_ASN1_ENCODE_FUNCTIONS_const(NETSCAPE_PKEY, NETSCAPE_PKEY)
173 171
174NETSCAPE_PKEY * 172NETSCAPE_PKEY *
175d2i_NETSCAPE_PKEY(NETSCAPE_PKEY **a, const unsigned char **in, long len) 173d2i_NETSCAPE_PKEY(NETSCAPE_PKEY **a, const unsigned char **in, long len)