diff options
author | Florin <pfl@northq.com> | 2017-09-30 20:30:55 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-10-28 16:32:43 +0200 |
commit | 2b5b37cb9109e7c2e6bfa5ebf54016aff8a1fb48 (patch) | |
tree | 500f6f5e953534c048c991d7d7432dd0e65de158 /lib/curl_sha256.h | |
parent | 1d0c8dea95794dd0591bdbf742de32e542365a3a (diff) | |
download | curl-2b5b37cb9109e7c2e6bfa5ebf54016aff8a1fb48.tar.gz |
auth: add support for RFC7616 - HTTP Digest access authentication
Signed-off-by: Florin <petriuc.florin@gmail.com>
Diffstat (limited to 'lib/curl_sha256.h')
-rw-r--r-- | lib/curl_sha256.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/curl_sha256.h b/lib/curl_sha256.h new file mode 100644 index 000000000..6db4b04db --- /dev/null +++ b/lib/curl_sha256.h @@ -0,0 +1,32 @@ +#ifndef HEADER_CURL_SHA256_H +#define HEADER_CURL_SHA256_H +/*************************************************************************** + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ + * \___|\___/|_| \_\_____| + * + * Copyright (C) 1998 - 2010, Florin Petriuc, <petriuc.florin@gmail.com> + * + * This software is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at https://curl.haxx.se/docs/copyright.html. + * + * You may opt to use, copy, modify, merge, publish, distribute and/or sell + * copies of the Software, and permit persons to whom the Software is + * furnished to do so, under the terms of the COPYING file. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ***************************************************************************/ + +#ifndef CURL_DISABLE_CRYPTO_AUTH + +void Curl_sha256it(unsigned char *outbuffer, + const unsigned char *input); + +#endif + +#endif /* HEADER_CURL_SHA256_H */ |