Skip to content

Commit

Permalink
Added a reference as per review
Browse files Browse the repository at this point in the history
  • Loading branch information
yitam committed Sep 6, 2018
1 parent 44bbd33 commit 6bbe864
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/shared/core_conn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1224,6 +1224,8 @@ void access_token_set_func::func( _In_ connection_option const* option, _In_ zva
//
// A valid access token byte string must be expanded so that each byte is followed by a 0 padding byte,
// similar to a UCS-2 string containing only ASCII characters
//
// See https://docs.microsoft.com/sql/connect/odbc/using-azure-active-directory#authenticating-with-an-access-token

size_t dataSize = 2 * value_len;

Expand Down

0 comments on commit 6bbe864

Please sign in to comment.