summaryrefslogtreecommitdiff
path: root/src/c
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@csail.mit.edu>2018-05-29 09:49:22 -0400
committerGravatar Adam Chlipala <adamc@csail.mit.edu>2018-05-29 09:49:22 -0400
commit1c493e9ec47f4754dd7237078e8c4f3300925ce3 (patch)
tree136d31607eea0e0d173babbe92b9d30724bf5ed1 /src/c
parent373cb403871c0c77f26cb76213adde3aeb278240 (diff)
Remove insecure crypto function (closes #114)
Diffstat (limited to 'src/c')
-rw-r--r--src/c/urweb.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c
index 504597ef..283efcdd 100644
--- a/src/c/urweb.c
+++ b/src/c/urweb.c
@@ -4490,11 +4490,6 @@ failure_kind uw_runCallback(uw_context ctx, void (*callback)(uw_context)) {
return r;
}
-uw_Basis_string uw_Basis_crypt(uw_context ctx, uw_Basis_string key, uw_Basis_string salt) {
- char buf[14];
- return uw_strdup(ctx, DES_fcrypt(key, salt, buf));
-}
-
uw_Basis_bool uw_Basis_eq_time(uw_context ctx, uw_Basis_time t1, uw_Basis_time t2) {
(void)ctx;
return !!(t1.seconds == t2.seconds && t1.microseconds == t2.microseconds);