* str_conv.c: Remove krb5_cksumtype_to_string after merge
authorTom Yu <tlyu@mit.edu>
Tue, 3 Nov 1998 00:01:02 +0000 (00:01 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 3 Nov 1998 00:01:02 +0000 (00:01 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11008 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/str_conv.c

index 9d1cfb02a0e3bf6959e11fa815fe073f53d813ff..94494a212598b70e626167a1a6cd0c7c8cf6270b 100644 (file)
@@ -1,3 +1,7 @@
+Mon Nov  2 19:00:23 1998  Tom Yu  <tlyu@mit.edu>
+
+       * str_conv.c: Remove krb5_cksumtype_to_string after merge.
+
 1998-10-27  Marc Horowitz  <marc@mit.edu>
 
        * vfy_increds.c: rearrange the code a bit to make it more clear
index b30638d4fbcb5bcaad64d11f5b4ba3cd25cb7be9..7041f618c7df53672114d2dd13879d7e50a91944 100644 (file)
@@ -450,33 +450,6 @@ krb5_salttype_to_string(salttype, buffer, buflen)
        return(EINVAL);
 }
 
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV
-krb5_cksumtype_to_string(cksumtype, buffer, buflen)
-    krb5_cksumtype     cksumtype;
-    char               FAR * buffer;
-    size_t             buflen;
-{
-    int i;
-    const char *out;
-
-    out = (char *) NULL;
-    for (i=0; i<cksumtype_table_nents; i++) {
-       if (cksumtype ==  cksumtype_table[i].cst_cksumtype) {
-           out = cksumtype_table[i].cst_output;
-           break;
-       }
-    }
-    if (out) {
-       if (buflen > strlen(out))
-           strcpy(buffer, out);
-       else
-           out = (char *) NULL;
-       return((out) ? 0 : ENOMEM);
-    }
-    else
-       return(EINVAL);
-}
-
 KRB5_DLLIMP krb5_error_code KRB5_CALLCONV
 krb5_timestamp_to_string(timestamp, buffer, buflen)
     krb5_timestamp     timestamp;