commit | 99b2a001df2fcc273a4074d7d0f0e9a946ba19e9 | [log] [tgz] |
---|---|---|
author | Yingdi Yu <yuyingdi@gmail.com> | Wed Aug 12 12:47:44 2015 -0700 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Wed Aug 10 21:19:02 2016 -0700 |
tree | b200477150b5c5c9b7146359f90e365bfed50ced | |
parent | 1349d2d72edad85e0fc264818543d7683de31a49 [diff] [blame] |
security: change enum to enum class in security-common.hpp Change-Id: I5565c845cd57f3457c8120b11399a105fa83418d Refs: #3083
diff --git a/src/security/detail/openssl-helper.cpp b/src/security/detail/openssl-helper.cpp index 25fddc7..ce51d1b 100644 --- a/src/security/detail/openssl-helper.cpp +++ b/src/security/detail/openssl-helper.cpp
@@ -29,7 +29,7 @@ toDigestEvpMd(DigestAlgorithm algo) { switch (algo) { - case DIGEST_ALGORITHM_SHA256: + case DigestAlgorithm::SHA256: return EVP_sha256(); default: return nullptr;