From 5b9d61b3bf55f45a0d699a1a2e449cdacd5c54b6 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Thu, 30 Jun 2011 10:49:42 -0700 Subject: Add function to generate a WebAuth keyring from one key Several places in the mod_webauth code we want to encode or decode a token from a specific key. Rather than add additional entry points for the token encoding and decoding functions that take keys, provide a function to convert a key into a keyring. This function uses pool-allocated memory, which means one has to be very careful with the resulting keyring and not call existing keyring functions on it that may resize it, since that will fail horribly. Eventually, all key management functions will be converted to use APR. Change-Id: I7ef9eb58edffb4033948a884fa66236538b8b11f Reviewed-on: https://gerrit.stanford.edu/68 Tested-by: Russ Allbery Reviewed-by: Russ Allbery --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index f2d6c081..8fc2dc2a 100644 --- a/.gitignore +++ b/.gitignore @@ -41,6 +41,7 @@ /tests/lib/base64-t /tests/lib/hex-t /tests/lib/key-t +/tests/lib/keys-t /tests/lib/krb5-t /tests/lib/krb5-tgt-t /tests/lib/random-t -- cgit v1.2.3