forked from rafaelsteil/libcgi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark function md5() as deprecated and compile md5.c again
Quote from issue rafaelsteil#15: > libcgi contains an implementation of the md5 hash function, however > its not used inside the library itself and the status regarding > license or potential security issues (despite the weekness of md5 > itself) is not clear. If a user needs md5 he or she could get it from > a specialized library. Although md5 is deprecated (rafaelsteil#15) we can not simply remove the code from the API. Do that later. The HAVE_MD5 macro is useless, that was a relict from the old autotools build and actually meant »build with md5«, so we can simply drop the build time generated file and that macro. Fixes: 0643151 Signed-off-by: Alexander Dahl <[email protected]>
- Loading branch information
Showing
4 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,19 +2,14 @@ | |
# Copyright 2013,2016,2018 Alexander Dahl <[email protected]> | ||
# | ||
|
||
configure_file( | ||
"${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake.in" | ||
"${CMAKE_CURRENT_BINARY_DIR}/config.h" | ||
) | ||
|
||
set(CGI_SRC | ||
base64.c | ||
cgi.c | ||
cookie.c | ||
error.c | ||
general.c | ||
list.c | ||
# md5.c | ||
md5.c | ||
session.c | ||
string.c | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters