#include <lib-lib/lib-lib.h>
-#include "mutt.h"
#include "lib.h"
#include "pgplib.h"
}
}
-
-
-/* unused */
-
-#if 0
-
-static const char *hashalgbytype (unsigned char type)
-{
- switch (type) {
- case 1:
- return "MD5";
- case 2:
- return "SHA1";
- case 3:
- return "RIPE-MD/160";
- case 4:
- return "HAVAL";
- default:
- return "unknown";
- }
-}
-
-#endif
-
short pgp_canencrypt (unsigned char type)
{
switch (type) {
return (pgp_canencrypt (type) << 1) | pgp_cansign (type);
}
-void pgp_free_sig (pgp_sig_t ** sigp)
+static void pgp_free_sig (pgp_sig_t ** sigp)
{
pgp_sig_t *sp, *q;
*sigp = NULL;
}
-void pgp_free_uid (pgp_uid_t ** upp)
+static void pgp_free_uid (pgp_uid_t ** upp)
{
pgp_uid_t *up, *q;