aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/dsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/dsa.c')
-rw-r--r--cipher/dsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/dsa.c b/cipher/dsa.c
index 46484c1e9..107ed71c2 100644
--- a/cipher/dsa.c
+++ b/cipher/dsa.c
@@ -405,7 +405,7 @@ dsa_get_info( int algo, int *npkey, int *nskey, int *nenc, int *nsig,
*nsig = 2;
switch( algo ) {
- case PUBKEY_ALGO_DSA: *usage = 1; return "DSA";
+ case PUBKEY_ALGO_DSA: *usage = PUBKEY_USAGE_SIG; return "DSA";
default: *usage = 0; return NULL;
}
}