summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl.h
diff options
context:
space:
mode:
authorjsing <>2018-03-17 14:40:45 +0000
committerjsing <>2018-03-17 14:40:45 +0000
commite1a22b8c62b92cd313093f7abfeac785adc963e5 (patch)
tree6d4bf08e65211843db6a2d7d8335ac799b364e0e /src/lib/libssl/ssl.h
parent66eff36ef195a6a7a765636645756dca24d23c6b (diff)
downloadopenbsd-e1a22b8c62b92cd313093f7abfeac785adc963e5.tar.gz
openbsd-e1a22b8c62b92cd313093f7abfeac785adc963e5.tar.bz2
openbsd-e1a22b8c62b92cd313093f7abfeac785adc963e5.zip
Provide SSL_CIPHER_get_auth_nid(), SSL_CIPHER_get_cipher_nid(),
SSL_CIPHER_get_digest_nid(), SSL_CIPHER_get_kx_nid() and SSL_CIPHER_is_aead().
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r--src/lib/libssl/ssl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h
index 3a5e2f5f03..206049887d 100644
--- a/src/lib/libssl/ssl.h
+++ b/src/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl.h,v 1.148 2018/03/17 14:26:13 jsing Exp $ */ 1/* $OpenBSD: ssl.h,v 1.149 2018/03/17 14:40:45 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 *
@@ -1255,6 +1255,11 @@ char * SSL_CIPHER_get_version(const SSL_CIPHER *c);
1255const char * SSL_CIPHER_get_name(const SSL_CIPHER *c); 1255const char * SSL_CIPHER_get_name(const SSL_CIPHER *c);
1256unsigned long SSL_CIPHER_get_id(const SSL_CIPHER *c); 1256unsigned long SSL_CIPHER_get_id(const SSL_CIPHER *c);
1257uint16_t SSL_CIPHER_get_value(const SSL_CIPHER *c); 1257uint16_t SSL_CIPHER_get_value(const SSL_CIPHER *c);
1258int SSL_CIPHER_get_cipher_nid(const SSL_CIPHER *c);
1259int SSL_CIPHER_get_digest_nid(const SSL_CIPHER *c);
1260int SSL_CIPHER_get_kx_nid(const SSL_CIPHER *c);
1261int SSL_CIPHER_get_auth_nid(const SSL_CIPHER *c);
1262int SSL_CIPHER_is_aead(const SSL_CIPHER *c);
1258 1263
1259int SSL_get_fd(const SSL *s); 1264int SSL_get_fd(const SSL *s);
1260int SSL_get_rfd(const SSL *s); 1265int SSL_get_rfd(const SSL *s);