diff options
author | jsing <> | 2014-08-10 14:42:56 +0000 |
---|---|---|
committer | jsing <> | 2014-08-10 14:42:56 +0000 |
commit | cdc0e904c0db18d8a94dbc75555c41585f6a7867 (patch) | |
tree | 2aa183c3a15875e9ec36793e3cb35c3a765c0fcc /src/lib/libssl/ssl.h | |
parent | f26635d06fdd0bb26d5ee990a796492daaa92b29 (diff) | |
download | openbsd-cdc0e904c0db18d8a94dbc75555c41585f6a7867.tar.gz openbsd-cdc0e904c0db18d8a94dbc75555c41585f6a7867.tar.bz2 openbsd-cdc0e904c0db18d8a94dbc75555c41585f6a7867.zip |
Since we no longer need to support SSLv2-style cipher lists, start
unravelling the maze of function pointers and callbacks by directly
calling ssl3_{get,put}_cipher_by_char() and removing the
ssl_{get,put}_cipher_by_char macros.
Prompted by similar changes in boringssl.
ok guenther.
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r-- | src/lib/libssl/ssl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index 7547d05aa6..857709f7c5 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl.h,v 1.62 2014/07/12 19:45:53 jsing Exp $ */ | 1 | /* $OpenBSD: ssl.h,v 1.63 2014/08/10 14:42:56 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 | * |
@@ -410,6 +410,7 @@ struct ssl_method_st { | |||
410 | int (*ssl_dispatch_alert)(SSL *s); | 410 | int (*ssl_dispatch_alert)(SSL *s); |
411 | long (*ssl_ctrl)(SSL *s, int cmd, long larg, void *parg); | 411 | long (*ssl_ctrl)(SSL *s, int cmd, long larg, void *parg); |
412 | long (*ssl_ctx_ctrl)(SSL_CTX *ctx, int cmd, long larg, void *parg); | 412 | long (*ssl_ctx_ctrl)(SSL_CTX *ctx, int cmd, long larg, void *parg); |
413 | /* XXX - remove get_cipher_by_char and put_cipher_by_char. */ | ||
413 | const SSL_CIPHER *(*get_cipher_by_char)(const unsigned char *ptr); | 414 | const SSL_CIPHER *(*get_cipher_by_char)(const unsigned char *ptr); |
414 | int (*put_cipher_by_char)(const SSL_CIPHER *cipher, unsigned char *ptr); | 415 | int (*put_cipher_by_char)(const SSL_CIPHER *cipher, unsigned char *ptr); |
415 | int (*ssl_pending)(const SSL *s); | 416 | int (*ssl_pending)(const SSL *s); |