"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/auth/db-oauth2.c" between
dovecot-2.3.7.2.tar.gz and dovecot-2.3.8.tar.gz

About: Dovecot is an IMAP and POP3 server, written with security primarily in mind.

db-oauth2.c  (dovecot-2.3.7.2):db-oauth2.c  (dovecot-2.3.8)
skipping to change at line 246 skipping to change at line 246
i_zero(&db->oauth2_set); i_zero(&db->oauth2_set);
db->oauth2_set.client = db->client; db->oauth2_set.client = db->client;
db->oauth2_set.tokeninfo_url = db->set.tokeninfo_url, db->oauth2_set.tokeninfo_url = db->set.tokeninfo_url,
db->oauth2_set.grant_url = db->set.grant_url, db->oauth2_set.grant_url = db->set.grant_url,
db->oauth2_set.introspection_url = db->set.introspection_url; db->oauth2_set.introspection_url = db->set.introspection_url;
db->oauth2_set.client_id = db->set.client_id; db->oauth2_set.client_id = db->set.client_id;
db->oauth2_set.client_secret = db->set.client_secret; db->oauth2_set.client_secret = db->set.client_secret;
db->oauth2_set.timeout_msecs = db->set.timeout_msecs; db->oauth2_set.timeout_msecs = db->set.timeout_msecs;
db->oauth2_set.send_auth_headers = db->set.send_auth_headers; db->oauth2_set.send_auth_headers = db->set.send_auth_headers;
db->oauth2_set.use_grant_password = db->set.use_grant_password; db->oauth2_set.use_grant_password = db->set.use_grant_password;
db->oauth2_set.scope = db->set.scope;
if (*db->set.introspection_mode == '\0' || if (*db->set.introspection_mode == '\0' ||
strcmp(db->set.introspection_mode, "auth") == 0) { strcmp(db->set.introspection_mode, "auth") == 0) {
db->oauth2_set.introspection_mode = INTROSPECTION_MODE_GET_AUTH; db->oauth2_set.introspection_mode = INTROSPECTION_MODE_GET_AUTH;
} else if (strcmp(db->set.introspection_mode, "get") == 0) { } else if (strcmp(db->set.introspection_mode, "get") == 0) {
db->oauth2_set.introspection_mode = INTROSPECTION_MODE_GET; db->oauth2_set.introspection_mode = INTROSPECTION_MODE_GET;
} else if (strcmp(db->set.introspection_mode, "post") == 0) { } else if (strcmp(db->set.introspection_mode, "post") == 0) {
db->oauth2_set.introspection_mode = INTROSPECTION_MODE_POST; db->oauth2_set.introspection_mode = INTROSPECTION_MODE_POST;
} else { } else {
i_fatal("Invalid value '%s' for introspection mode, must be on au th, get or post", i_fatal("Invalid value '%s' for introspection mode, must be on au th, get or post",
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)