diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2003-02-23 18:45:33 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2003-02-23 18:45:33 +0000 |
commit | 13db2e289f9b402629859b115c4f617f23ee7eeb (patch) | |
tree | b90a118bd01ba49bab3328e56214cd0d087e4589 /sys/net/pfkeyv2_convert.c | |
parent | 6e94c9b071f460629edbf7fd5134844d38161760 (diff) |
typo in export_auth; ok ho@
Diffstat (limited to 'sys/net/pfkeyv2_convert.c')
-rw-r--r-- | sys/net/pfkeyv2_convert.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/pfkeyv2_convert.c b/sys/net/pfkeyv2_convert.c index 8c4e286f364..e6209b2832d 100644 --- a/sys/net/pfkeyv2_convert.c +++ b/sys/net/pfkeyv2_convert.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfkeyv2_convert.c,v 1.14 2003/02/16 21:30:13 deraadt Exp $ */ +/* $OpenBSD: pfkeyv2_convert.c,v 1.15 2003/02/23 18:45:32 markus Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@keromytis.org) * @@ -698,11 +698,11 @@ export_auth(void **p, struct tdb *tdb, int dstauth) PADUP((*ipr)->ref_len)) / sizeof(uint64_t); switch ((*ipr)->ref_type) { - case IPSP_CRED_KEYNOTE: - sadb_auth->sadb_x_cred_type = SADB_X_CREDTYPE_KEYNOTE; + case IPSP_AUTH_PASSPHRASE: + sadb_auth->sadb_x_cred_type = SADB_X_AUTHTYPE_PASSPHRASE; break; - case IPSP_CRED_X509: - sadb_auth->sadb_x_cred_type = SADB_X_CREDTYPE_X509; + case IPSP_AUTH_RSA: + sadb_auth->sadb_x_cred_type = SADB_X_AUTHTYPE_RSA; break; } *p += sizeof(struct sadb_x_cred); |