Start optionally using the SHA implementation from the existing crypto API #44
2 changed files with 4 additions and 2 deletions
|
@ -28,7 +28,8 @@
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#if (TLS_IMPL == TLS_OPENSSL) || (TLS_IMPL == TLS_LIBRESSL)
|
/* TODO: Verify LibreSSL support later */
|
||||||
lda marked this conversation as resolved
Outdated
|
|||||||
|
#if TLS_IMPL == TLS_OPENSSL
|
||||||
|
|
||||||
#include <openssl/sha.h>
|
#include <openssl/sha.h>
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
|
|
||||||
#if (TLS_IMPL == TLS_OPENSSL) || (TLS_IMPL == TLS_LIBRESSL)
|
/* TODO: Verify LibreSSL support later */
|
||||||
|
#if TLS_IMPL == TLS_OPENSSL
|
||||||
|
|
||||||
#include <openssl/sha.h>
|
#include <openssl/sha.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue
If you just say
#if (TLS_IMPL == TLS_OPENSSL)
and get rid of the LibreSSL check, then this will only be applied with OpenSSL, which you verified to work. We can then merge this and add back LibreSSL support later after we verify it is working.