8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik Lukas Slebodnik <lslebodn@redhat.com>
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik Copyright (C) 2016 Red Hat
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik This program is free software; you can redistribute it and/or modify
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik it under the terms of the GNU General Public License as published by
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik the Free Software Foundation; either version 3 of the License, or
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik (at your option) any later version.
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik This program is distributed in the hope that it will be useful,
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik but WITHOUT ANY WARRANTY; without even the implied warranty of
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik GNU General Public License for more details.
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik You should have received a copy of the GNU General Public License
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik along with this program. If not, see <http://www.gnu.org/licenses/>.
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik/* EVP_MD_CTX_create and EVP_MD_CTX_destroy are deprecated macros
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik * in openssl-1.1 but openssl-1.0 does not know anything about
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik * newly added functions EVP_MD_CTX_new, EVP_MD_CTX_free in 1.1
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik# define EVP_MD_CTX_new() EVP_MD_CTX_create()
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik# define EVP_MD_CTX_free(ctx) EVP_MD_CTX_destroy((ctx))
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */
8f1316a0c677f211eaaa1346e21a03446b8c4fb1Lukas Slebodnik#endif /* _SSS_LIBCRYTPO_SSS_OPENSSL_H_ */