summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ocsp
diff options
context:
space:
mode:
authorjsing <>2015-02-10 04:21:50 +0000
committerjsing <>2015-02-10 04:21:50 +0000
commit803fe92d2ba2e99892a8bb84620d364da4518cb7 (patch)
tree08b1f7d61accebd33520532c3d344995d3a51ea4 /src/lib/libcrypto/ocsp
parent64e9476b7bc2ceaca55b2f0f7a5107d5a8838e5d (diff)
downloadopenbsd-803fe92d2ba2e99892a8bb84620d364da4518cb7.tar.gz
openbsd-803fe92d2ba2e99892a8bb84620d364da4518cb7.tar.bz2
openbsd-803fe92d2ba2e99892a8bb84620d364da4518cb7.zip
Expand the IMPLEMENT_ASN1_DUP_FUNCTION macro so that the code is visible
and functions can be readily located. Change has been scripted and the generated assembly only differs by changes to line numbers. Discussed with beck@ miod@ tedu@
Diffstat (limited to 'src/lib/libcrypto/ocsp')
-rw-r--r--src/lib/libcrypto/ocsp/ocsp_lib.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ocsp/ocsp_lib.c b/src/lib/libcrypto/ocsp/ocsp_lib.c
index 618cc3b869..099cc26cd7 100644
--- a/src/lib/libcrypto/ocsp/ocsp_lib.c
+++ b/src/lib/libcrypto/ocsp/ocsp_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ocsp_lib.c,v 1.16 2014/10/18 17:20:40 jsing Exp $ */ 1/* $OpenBSD: ocsp_lib.c,v 1.17 2015/02/10 04:21:50 jsing Exp $ */
2/* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL 2/* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL
3 * project. */ 3 * project. */
4 4
@@ -274,4 +274,9 @@ err:
274 return 0; 274 return 0;
275} 275}
276 276
277IMPLEMENT_ASN1_DUP_FUNCTION(OCSP_CERTID) 277
278OCSP_CERTID *
279OCSP_CERTID_dup(OCSP_CERTID *x)
280{
281 return ASN1_item_dup(ASN1_ITEM_rptr(OCSP_CERTID), x);
282}