diff options
author | Adam Langley <agl@google.com> | 2016-05-20 08:22:33 -0700 |
---|---|---|
committer | David Benjamin <davidben@google.com> | 2016-05-20 15:31:52 +0000 |
commit | 1aa03f07450da091b440b1f14937aa44bab4e428 (patch) | |
tree | cfb788b4131c09dd81c385df773df8149d7ea079 /decrepit/evp | |
parent | 7cb920b6acbbddf281d9eb77ef785ec63fde3843 (diff) | |
download | boringssl-1aa03f07450da091b440b1f14937aa44bab4e428.zip boringssl-1aa03f07450da091b440b1f14937aa44bab4e428.tar.gz boringssl-1aa03f07450da091b440b1f14937aa44bab4e428.tar.bz2 |
Add |EVP_dss1| as an alias for |EVP_sha1| in decrepit.
Change-Id: I51fa744c367d1f0c7044050f99c4992778e649bd
Reviewed-on: https://boringssl-review.googlesource.com/8030
Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'decrepit/evp')
-rw-r--r-- | decrepit/evp/CMakeLists.txt | 1 | ||||
-rw-r--r-- | decrepit/evp/dss1.c | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/decrepit/evp/CMakeLists.txt b/decrepit/evp/CMakeLists.txt index ee3bf33..e631a9a 100644 --- a/decrepit/evp/CMakeLists.txt +++ b/decrepit/evp/CMakeLists.txt @@ -5,5 +5,6 @@ add_library( OBJECT + dss1.c evp_do_all.c ) diff --git a/decrepit/evp/dss1.c b/decrepit/evp/dss1.c new file mode 100644 index 0000000..9c370ac --- /dev/null +++ b/decrepit/evp/dss1.c @@ -0,0 +1,20 @@ +/* Copyright (c) 2016, Google Inc. + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION + * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + +#include <openssl/digest.h> + + +const EVP_MD *EVP_dss1(void) { + return EVP_sha1(); +} |