diff options
Diffstat (limited to 'src/charon/plugins/medsrv/medsrv_creds.c')
-rw-r--r-- | src/charon/plugins/medsrv/medsrv_creds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charon/plugins/medsrv/medsrv_creds.c b/src/charon/plugins/medsrv/medsrv_creds.c index 428907628..decd38122 100644 --- a/src/charon/plugins/medsrv/medsrv_creds.c +++ b/src/charon/plugins/medsrv/medsrv_creds.c @@ -121,7 +121,7 @@ static enumerator_t* create_cert_enumerator(private_medsrv_creds_t *this, e->public.enumerate = (void*)cert_enumerator_enumerate; e->public.destroy = (void*)cert_enumerator_destroy; e->inner = this->db->query(this->db, - "SELECT PublicKey FROM Peer WHERE KeyId = ?", + "SELECT public_key FROM peer WHERE keyid = ?", DB_BLOB, id->get_encoding(id), DB_BLOB); if (!e->inner) |