-rw-r--r-- | lib/basic_op.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/basic_op.cc b/lib/basic_op.cc index fa659ac..511b51a 100644 --- a/lib/basic_op.cc +++ b/lib/basic_op.cc | |||
@@ -154,2 +154,4 @@ namespace opkele { | |||
154 | realm = inm.get_field("realm"); | 154 | realm = inm.get_field("realm"); |
155 | if(realm.empty()) | ||
156 | throw failed_lookup(OPKELE_CP_ "Empty realm doesn't count"); | ||
155 | }catch(failed_lookup&) { | 157 | }catch(failed_lookup&) { |
@@ -157,2 +159,4 @@ namespace opkele { | |||
157 | realm = inm.get_field("trust_root"); | 159 | realm = inm.get_field("trust_root"); |
160 | if(realm.empty()) | ||
161 | throw failed_lookup(OPKELE_CP_ "Empty trust_root doesn't count"); | ||
158 | }catch(failed_lookup&) { | 162 | }catch(failed_lookup&) { |
@@ -167,2 +171,4 @@ namespace opkele { | |||
167 | realm = inm.get_field("trust_root"); | 171 | realm = inm.get_field("trust_root"); |
172 | if(realm.empty()) | ||
173 | throw failed_lookup(OPKELE_CP_ "Empty trust_root doesn't count"); | ||
168 | }catch(failed_lookup&) { | 174 | }catch(failed_lookup&) { |