Commit 5eec624d 5eec624d0ed7cfec30bb780d9ccda76f2408a72f by Sam Roberts

authority_authenticate() was returning success if authority was NULL, this

is an error for all the other authority_* APIs, now it is here, as well.
1 parent 746ee9e4
...@@ -221,7 +221,7 @@ authority_authenticate (authority_t authority) ...@@ -221,7 +221,7 @@ authority_authenticate (authority_t authority)
221 { 221 {
222 return authority->_authenticate (authority); 222 return authority->_authenticate (authority);
223 } 223 }
224 return 0; 224 return EINVAL;
225 } 225 }
226 226
227 int 227 int
......