summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/crypto.h4
-rw-r--r--src/lib/libssl/src/crypto/crypto.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/libcrypto/crypto.h b/src/lib/libcrypto/crypto.h
index 4012f1c99a..68028d9c13 100644
--- a/src/lib/libcrypto/crypto.h
+++ b/src/lib/libcrypto/crypto.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: crypto.h,v 1.34 2015/04/11 16:16:15 deraadt Exp $ */ 1/* $OpenBSD: crypto.h,v 1.35 2015/06/20 12:01:54 jsing Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -512,12 +512,14 @@ int OPENSSL_isservice(void);
512 512
513void OPENSSL_init(void); 513void OPENSSL_init(void);
514 514
515#ifndef LIBRESSL_INTERNAL
515/* CRYPTO_memcmp returns zero iff the |len| bytes at |a| and |b| are equal. It 516/* CRYPTO_memcmp returns zero iff the |len| bytes at |a| and |b| are equal. It
516 * takes an amount of time dependent on |len|, but independent of the contents 517 * takes an amount of time dependent on |len|, but independent of the contents
517 * of |a| and |b|. Unlike memcmp, it cannot be used to put elements into a 518 * of |a| and |b|. Unlike memcmp, it cannot be used to put elements into a
518 * defined order as the return value when a != b is undefined, other than to be 519 * defined order as the return value when a != b is undefined, other than to be
519 * non-zero. */ 520 * non-zero. */
520int CRYPTO_memcmp(const void *a, const void *b, size_t len); 521int CRYPTO_memcmp(const void *a, const void *b, size_t len);
522#endif
521 523
522/* BEGIN ERROR CODES */ 524/* BEGIN ERROR CODES */
523/* The following lines are auto generated by the script mkerr.pl. Any changes 525/* The following lines are auto generated by the script mkerr.pl. Any changes
diff --git a/src/lib/libssl/src/crypto/crypto.h b/src/lib/libssl/src/crypto/crypto.h
index 4012f1c99a..68028d9c13 100644
--- a/src/lib/libssl/src/crypto/crypto.h
+++ b/src/lib/libssl/src/crypto/crypto.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: crypto.h,v 1.34 2015/04/11 16:16:15 deraadt Exp $ */ 1/* $OpenBSD: crypto.h,v 1.35 2015/06/20 12:01:54 jsing Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -512,12 +512,14 @@ int OPENSSL_isservice(void);
512 512
513void OPENSSL_init(void); 513void OPENSSL_init(void);
514 514
515#ifndef LIBRESSL_INTERNAL
515/* CRYPTO_memcmp returns zero iff the |len| bytes at |a| and |b| are equal. It 516/* CRYPTO_memcmp returns zero iff the |len| bytes at |a| and |b| are equal. It
516 * takes an amount of time dependent on |len|, but independent of the contents 517 * takes an amount of time dependent on |len|, but independent of the contents
517 * of |a| and |b|. Unlike memcmp, it cannot be used to put elements into a 518 * of |a| and |b|. Unlike memcmp, it cannot be used to put elements into a
518 * defined order as the return value when a != b is undefined, other than to be 519 * defined order as the return value when a != b is undefined, other than to be
519 * non-zero. */ 520 * non-zero. */
520int CRYPTO_memcmp(const void *a, const void *b, size_t len); 521int CRYPTO_memcmp(const void *a, const void *b, size_t len);
522#endif
521 523
522/* BEGIN ERROR CODES */ 524/* BEGIN ERROR CODES */
523/* The following lines are auto generated by the script mkerr.pl. Any changes 525/* The following lines are auto generated by the script mkerr.pl. Any changes