Thanks for fixing this! Reviewed-by: Pavel Shilovsky <pshilov@xxxxxxxxxxxxx> -- Best regards, Pavel Shilovsky сб, 17 окт. 2020 г. в 02:03, Steve French <smfrench@xxxxxxxxx>: > > There are cases where the server can return a cipher type of 0 and > it not be an error. For example, if server only supported AES256_CCM > (very unlikely) or server supported no encryption types or > had all disabled. In those cases encryption would not be supported, > but that can be ok if the client did not require encryption on mount. > > In the case in which mount requested encryption ("seal" on mount) > then checks later on during tree connection will return the proper > rc, but if seal was not requested by client, since server is allowed > to return 0 to indicate no supported cipher, we should not fail mount. > > Reported-by: Pavel Shilovsky <pshilov@xxxxxxxxxxxxx> > Signed-off-by: Steve French <stfrench@xxxxxxxxxxxxx> > > > -- > Thanks, > > Steve