mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
55f02cb684
Fixes #11108. It only sets q if a valid named group is found. The function signature was recently changed to pass a non const DH pointer in order to allow the nid to be cached internally. As an extension of this the value of q can now also be set as q is always known for named groups. The length field is also set if q is set. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/11114)
16 lines
452 B
C
16 lines
452 B
C
/*
|
|
* Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
|
|
*
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
* in the file LICENSE in the source distribution or at
|
|
* https://www.openssl.org/source/license.html
|
|
*/
|
|
|
|
#ifndef OSSL_SECURITY_BITS_H
|
|
# define OSSL_SECURITY_BITS_H
|
|
|
|
uint16_t ifc_ffc_compute_security_bits(int n);
|
|
|
|
#endif
|