diff options
author | 2018-03-17 14:40:45 +0000 | |
---|---|---|
committer | 2018-03-17 14:40:45 +0000 | |
commit | f9321272a2a3bc666bf14fcc9bc1e8545ee4aec0 (patch) | |
tree | df94f8eafce4578aa4325938c0a9c79945e817d3 /lib/libssl/ssl.h | |
parent | Provide object identifier for chacha20-poly1305. (diff) | |
download | wireguard-openbsd-f9321272a2a3bc666bf14fcc9bc1e8545ee4aec0.tar.xz wireguard-openbsd-f9321272a2a3bc666bf14fcc9bc1e8545ee4aec0.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 'lib/libssl/ssl.h')
-rw-r--r-- | lib/libssl/ssl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h index 3a5e2f5f03e..206049887de 100644 --- a/lib/libssl/ssl.h +++ b/lib/libssl/ssl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl.h,v 1.148 2018/03/17 14:26:13 jsing Exp $ */ +/* $OpenBSD: ssl.h,v 1.149 2018/03/17 14:40:45 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1255,6 +1255,11 @@ char * SSL_CIPHER_get_version(const SSL_CIPHER *c); const char * SSL_CIPHER_get_name(const SSL_CIPHER *c); unsigned long SSL_CIPHER_get_id(const SSL_CIPHER *c); uint16_t SSL_CIPHER_get_value(const SSL_CIPHER *c); +int SSL_CIPHER_get_cipher_nid(const SSL_CIPHER *c); +int SSL_CIPHER_get_digest_nid(const SSL_CIPHER *c); +int SSL_CIPHER_get_kx_nid(const SSL_CIPHER *c); +int SSL_CIPHER_get_auth_nid(const SSL_CIPHER *c); +int SSL_CIPHER_is_aead(const SSL_CIPHER *c); int SSL_get_fd(const SSL *s); int SSL_get_rfd(const SSL *s); |