diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-03-02 11:44:48 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-03-02 11:44:48 +0000 |
commit | 07fac7d4bbeafb8a510c08960bfab8b54dca3e4b (patch) | |
tree | 6d3c22371ddae99d10bc1a7e5597066988698aae /lib/libssl/s3_lib.c | |
parent | d597f0a24f40926e022cee3044af0cbde350695f (diff) |
Export SSL_get_{peer_,}signature_type_nid()
Also move the prototypes to the correct header.
Oversight reported by Frank Lichtenheld, thanks!
Fixes https://github.com/libressl/openbsd/issues/147
ok jsing
Diffstat (limited to 'lib/libssl/s3_lib.c')
-rw-r--r-- | lib/libssl/s3_lib.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libssl/s3_lib.c b/lib/libssl/s3_lib.c index bb8e9465ba6..9836d20bd03 100644 --- a/lib/libssl/s3_lib.c +++ b/lib/libssl/s3_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s3_lib.c,v 1.249 2024/02/03 15:58:33 beck Exp $ */ +/* $OpenBSD: s3_lib.c,v 1.250 2024/03/02 11:44:47 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1970,6 +1970,7 @@ SSL_get_signature_type_nid(const SSL *s, int *nid) return 1; } +LSSL_ALIAS(SSL_get_signature_type_nid); int SSL_get_peer_signature_type_nid(const SSL *s, int *nid) @@ -1986,6 +1987,7 @@ SSL_get_peer_signature_type_nid(const SSL *s, int *nid) return 1; } +LSSL_ALIAS(SSL_get_peer_signature_type_nid); long ssl3_ctrl(SSL *s, int cmd, long larg, void *parg) |