Skip to content

Commit

Permalink
md5: use axTLS's own MD5 functions when available
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Feb 6, 2015
1 parent 2a15e59 commit 05792d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/md5.c
Expand Up @@ -157,6 +157,9 @@ static void MD5_Final(unsigned char digest[16], MD5_CTX *ctx)
CryptReleaseContext(ctx->hCryptProv, 0);
}

#elif defined(USE_AXTLS)
#include <axTLS/os_int.h>
#include <axTLS/crypto.h>
#else
/* When no other crypto library is available we use this code segment */
/*
Expand Down

0 comments on commit 05792d6

Please sign in to comment.