The polymer obtained by reacting at a temperature 5 'i R R O of 80 C. to 120 C. a diamine having the formula 0 R-Si-R i i H2N-o-s io-si -o- N11z R R m CHzCHOHa where R is a monovalent hydrocarbon radical and m is 0 a whole number from 0 to 2 with an epoxide compound 7.