SSL_CIPHER_find
SSL_CIPHER_get_auth_nid
SSL_CIPHER_get_bits
-SSL_CIPHER_get_by_id
-SSL_CIPHER_get_by_value
SSL_CIPHER_get_cipher_nid
SSL_CIPHER_get_digest_nid
SSL_CIPHER_get_id
-/* $OpenBSD: ssl.h,v 1.4 2023/07/28 09:53:55 tb Exp $ */
+/* $OpenBSD: ssl.h,v 1.5 2024/03/02 11:45:51 tb Exp $ */
/*
* Copyright (c) 2023 Bob Beck <beck@openbsd.org>
*
LSSL_USED(SSL_clear);
LSSL_USED(SSL_CTX_flush_sessions);
LSSL_USED(SSL_get_current_cipher);
-LSSL_USED(SSL_CIPHER_get_by_id);
-LSSL_USED(SSL_CIPHER_get_by_value);
LSSL_USED(SSL_CIPHER_get_bits);
LSSL_USED(SSL_CIPHER_get_version);
LSSL_USED(SSL_CIPHER_get_name);
-/* $OpenBSD: ssl.h,v 1.234 2024/03/02 11:44:47 tb Exp $ */
+/* $OpenBSD: ssl.h,v 1.235 2024/03/02 11:45:51 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
void SSL_CTX_flush_sessions(SSL_CTX *ctx, long tm);
const SSL_CIPHER *SSL_get_current_cipher(const SSL *s);
-const SSL_CIPHER *SSL_CIPHER_get_by_id(unsigned int id);
-const SSL_CIPHER *SSL_CIPHER_get_by_value(uint16_t value);
int SSL_CIPHER_get_bits(const SSL_CIPHER *c, int *alg_bits);
const char * SSL_CIPHER_get_version(const SSL_CIPHER *c);
const char * SSL_CIPHER_get_name(const SSL_CIPHER *c);
-/* $OpenBSD: ssl_ciph.c,v 1.139 2024/02/03 15:58:33 beck Exp $ */
+/* $OpenBSD: ssl_ciph.c,v 1.140 2024/03/02 11:45:51 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
return ret;
}
-const SSL_CIPHER *
-SSL_CIPHER_get_by_id(unsigned int id)
-{
- return ssl3_get_cipher_by_id(id);
-}
-LSSL_ALIAS(SSL_CIPHER_get_by_id);
-
-const SSL_CIPHER *
-SSL_CIPHER_get_by_value(uint16_t value)
-{
- return ssl3_get_cipher_by_value(value);
-}
-LSSL_ALIAS(SSL_CIPHER_get_by_value);
-
char *
SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len)
{