X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fthreads_none.c;h=4b1940ae44dbd63a50df824a5d876633a2786796;hb=930e031052220776d41bcc20a72d0f276127fb74;hp=35c985b52cbf4bb2d5570be8623338206c394059;hpb=7de2b9c4afd90359e47d81a5fa70bcb8506fbf91;p=oweals%2Fopenssl.git diff --git a/crypto/threads_none.c b/crypto/threads_none.c index 35c985b52c..4b1940ae44 100644 --- a/crypto/threads_none.c +++ b/crypto/threads_none.c @@ -1,5 +1,5 @@ /* - * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -128,18 +128,6 @@ int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock) return 1; } -int CRYPTO_atomic_read(int *val, int *ret, CRYPTO_RWLOCK *lock) -{ - *ret = *val; - return 1; -} - -int CRYPTO_atomic_write(int *val, int n, CRYPTO_RWLOCK *lock) -{ - *val = n; - return 1; -} - int openssl_init_fork_handlers(void) { return 0;